package com.hakim.wfb.customer.params.user;

import com.hkfs.fundamental.api.params.BaseParameter;
import com.hkfs.fundamental.api.params.SessionParameter;
import org.hibernate.validator.constraints.NotBlank;


/**
 * <p>修改登录密码的参数</p>
 *
 * @author Created by walkman on 2017/7/5.
 */
public class ModifyLoginPasswordParameter extends SessionParameter {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @NotBlank(message = "用户ID不能为空")
    private String userId;

    /**
     * 原密码
     */
    @NotBlank(message = "请输入原密码")
    private String oldPassword;

    /**
     * 新密码
     */
    @NotBlank(message = "请输入新密码")
    private String newPassword;

    /**
     * 确认密码
     */
    @NotBlank(message = "请输入确认密码")
    private String newConfirmPassword;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public String getNewConfirmPassword() {
        return newConfirmPassword;
    }

    public void setNewConfirmPassword(String newConfirmPassword) {
        this.newConfirmPassword = newConfirmPassword;
    }
}